package com.fat.spzx.manager;

import com.fat.spzx.manager.properties.MinioProperties;
import com.fat.spzx.manager.properties.UserProperties;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@ComponentScan(basePackages = {"com.fat.spzx"})
@EnableConfigurationProperties(value = {UserProperties.class, MinioProperties.class})
public class ManagerApplication {

    private static final Logger log = LoggerFactory.getLogger(ManagerApplication.class);

    public static void main(String[] args) {
        log.info("《《ManagerApplication start...》》");
        SpringApplication.run(ManagerApplication.class, args);
    }
}
